package com.zzy.eventbus.eventExtends;

import com.google.common.eventbus.Subscribe;


/**
 * Integer继承 number
 * @author Administrator
 *
 */
public class IntegerListener {  
       
    private Integer lastMessage;  
   
    @Subscribe  
    public void listen(Integer integer) {  
        lastMessage = integer; 
        System.out.println("Message:"+lastMessage);
    }  
   
    public Integer getLastMessage() {  
        return lastMessage;  
    }  
}